export const initPerformanceMonitor = () => {
  if (process.env.NODE_ENV === 'production') {
    window.addEventListener('load', () => {
      const timing = performance.timing;
      console.log('页面加载耗时:', timing.loadEventEnd - timing.navigationStart);
    });
  }
};
